package com.ys.entity.storage;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TCC_Location", catalog="Id")
public class TccLocation extends BaseEntity<TccLocation> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="Chw", nameJava="chw", typeDataBase="varchar")
	private String chw;
	@YsField(nameDataBase="Ckq", nameJava="ckq", typeDataBase="varchar")
	private String ckq;
	@YsField(nameDataBase="Vhw", nameJava="vhw", typeDataBase="varchar")
	private String vhw;
	@YsField(nameDataBase="Remark", nameJava="remark", typeDataBase="varchar")
	private String remark;
	@YsField(nameDataBase="FeeStandard", nameJava="feeStandard", typeDataBase="decimal")
	private BigDecimal feeStandard;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TccLocation setId(Long id) {
		this.id = id;
		return this;
	}
	public String getChw() {
		return chw;
	}
	public TccLocation setChw(String chw) {
		this.chw = chw;
		return this;
	}
	public String getCkq() {
		return ckq;
	}
	public TccLocation setCkq(String ckq) {
		this.ckq = ckq;
		return this;
	}
	public String getVhw() {
		return vhw;
	}
	public TccLocation setVhw(String vhw) {
		this.vhw = vhw;
		return this;
	}
	public String getRemark() {
		return remark;
	}
	public TccLocation setRemark(String remark) {
		this.remark = remark;
		return this;
	}
	public BigDecimal getFeeStandard() {
		return feeStandard;
	}
	public TccLocation setFeeStandard(BigDecimal feeStandard) {
		this.feeStandard = feeStandard;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TccLocation setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TccLocation setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TccLocation setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TccLocation tccLocation(
		String chw,
		String ckq,
		String vhw,
		String remark,
		BigDecimal feeStandard,
		Integer status
			) {
		TccLocation entity = new TccLocation();
		entity.setChw(chw);
		entity.setCkq(ckq);
		entity.setVhw(vhw);
		entity.setRemark(remark);
		entity.setFeeStandard(feeStandard);
		entity.setStatus(status);
		return entity;
	}
}